package org.zk.dao;

import org.zk.entity.Image;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ImageMapper {

    //通过商品id查询商品图片
    List<Image> selectByGoodsPrimaryKey(@Param("goodsId") Integer goodsId);

    public Integer insertImage(Image image);


}
